<template>
  <div id="page">
 	<div class="box">
  		 <a-form  :model="formInline" @submit="handleSubmit" @submit.native.prevent >
  		    <a-form-item>
  				 <label>用户名</label>
  		      <a-input v-model:value="formInline.user" />
  		    </a-form-item>
  		    <a-form-item>
  				<label>密码</label>
  		      <a-input v-model:value="formInline.password" type="password"/>
  		    </a-form-item>
  			<a-form-item>
  			 <div id="captcha-dom">
  				 
  			 </div>
  			</a-form-item>
  		    <a-form-item>
  		      <a-button type="primary" html-type="submit" block>
  		        登 录
  		      </a-button>
  		    </a-form-item>
  		  </a-form>
  		  <div class="text-center fs-12">
  		   <a href="" class="color-white">忘记密码</a> | 
  		    <a href="" class="color-white">注册</a>
			
  		  </div>
  	</div>
  </div>
</template>

<script lang="ts">
	import {reactive,onMounted , defineComponent,toRefs } from 'vue'
	export default defineComponent ({
		name:'Login',
		setup(props){
			const formInline = reactive<any>({user:'',password:''})
			const  handleSubmit=() => {
					 
					}
					

			return {

				formInline,handleSubmit
			}
		}
	})
</script>

<style lang="scss">
	@import './login.scss';
</style>
